package com.abing.starry.model.enums;

import com.abing.starry.spi.dict.Dict;
import com.abing.starry.spi.dict.EnumDict;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author CaptainBing
 * @Date 2024/9/2 14:05
 * @Description
 */
@Getter
@Dict("http-method")
@AllArgsConstructor
public enum HttpMethodEnum implements EnumDict<String> {

    GET,
    POST,
    PUT,
    DELETE,
    OPTION,
    PATCH,
    ;
    public String getText() {
        return name();
    }
    public String getValue() {
        return name();
    }
}
